package com.huang.Service.ServiceImpl;

import com.huang.Dao.OrderDao;
import com.huang.Pojo.Order;
import com.huang.Service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderServiceImpl implements OrderService {

    @Resource
    private OrderDao orderDao;

    @Override
    public void createOrder(Order order) {
        orderDao.save(order);
    }
}
